package com.yjhb.android.sbz.tool.wx;

import com.tencent.mm.opensdk.modelmsg.SendAuth;

/**
 * 创建者 zx
 * 创建时间 2020/11/19 10:49
 */
public class WxLogin {
    private final String TAG = "WxLogin";


    public static boolean login() {
        SendAuth.Req req = new SendAuth.Req();
        req.scope = "snsapi_userinfo";
        req.state = "wechat_sdk_" + Math.random();
        return WxTool.getWxApi().sendReq(req);
    }


}
